<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>全屏居中效果</title>

  <link rel="stylesheet" href="css/h7.css">
</head>

<body>

  <div class="mybox">

    <div>
      全屏幕居中

      <hr>
      <div class="input-box">
        <input type="text">
      </div>

      <hr>
      <div class="input-box">
        <input type="text">
      </div>


    </div>

  </div>


  <div class="fixed-box">固定位置定位</div>

</body>

</html>